package nc.ui.xls.pub;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class ExcelFliter extends FileFilter {

	@Override
	public boolean accept(File f) {
		if(f.isDirectory())
			return false;
			
			return f.getName().endsWith(".xls");//||f.getName().endsWith(".xlsx");
		}
	

	@Override
	public String getDescription() {
		return "*.xls";//*.xlsx
	}

}
